package com.css.fxfzaqbz.modules.assess.service;

import com.css.fxfzaqbz.modules.assess.entity.RiskAssessmentEntity;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * @author y1fan
 * @create 2022-09-08 18:56
 */
public interface RiskAssessmentService {


    RiskAssessmentEntity saveRiskAssessment(RiskAssessmentEntity riskAssessmentEntity);

    List<RiskAssessmentEntity> getAllRiskAssessment(String id);

    void deleteRiskAssessment(String id);

    RiskAssessmentEntity updateRiskAssessment(RiskAssessmentEntity riskAssessmentEntity);

    RiskAssessmentEntity getRiskAssessmentById(String id);

    RiskAssessmentEntity getRiskAssessmentByContend(RiskAssessmentEntity riskAssessmentEntity);

    RiskAssessmentEntity updateRiskAssessmentById(RiskAssessmentEntity riskAssessmentEntity, String sraId);

    List<RiskAssessmentEntity> getEarthEntityTwo(String id);

    void firstSubmitRiskAssessment(String id);

    Boolean riskAssessmentIfRepetition(RiskAssessmentEntity riskAssessmentEntity);

    void addRiskAssessmentDisaster(List<String> ids, String describe);

    void removeRiskAssessmentDisasterAss(String id);

    void secondSubmitRiskAssessment(List<String> ids);

    int whatIsThisNumber(RiskAssessmentEntity riskAssessmentEntity);

    void coverRiskAssessment(RiskAssessmentEntity riskAssessmentEntity);

    List<RiskAssessmentEntity> getRiskByIaIdAndType(String iaId, String dzwxqpgType);
}
